package com.foreknow.example3;

public class Duck extends Animal {
    public Duck(String name, int legNum) {
        super(name, legNum);
    }

    @Override
    public void shout() {
        System.out.println("嘎嘎......");
    }
}
